home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / packet / p_tapr / tnchst / mtconst.asm < prev    next >
Assembly Source File  |  1990-08-18  |  1KB  |  30 lines

  1.  
  2. ;buffer_size EQU  10      ; Bytes in each buffer, must be 512 or larger
  3. buffer_size EQU  1024      ; Bytes in each buffer, must be 512 or larger
  4. ;buffer_full EQU  5      ; Max count before handshaking
  5. buffer_full EQU  768      ; Max count before handshaking
  6.  
  7. ; Hardware constants
  8.  
  9. pic_cmd_port     EQU   020H   ; 8259 interrupt controller command address
  10. pic_mask_port     EQU   021H   ; 8259 interrupt controller mask address
  11.  
  12. ; 8250 hardware constants
  13.  
  14. rbr_8250     EQU 00H   ;       xF8     Receive Buffer Register
  15. thr_8250     EQU 00H   ;       xF8     Transmitter Holding Register
  16. ier_8250     EQU 01H   ;       xF9     Interrupt Enable Register
  17. iir_8250     EQU 02H   ;       xFA     Interrupt Identification Register
  18. lcr_8250     EQU 03H   ;       xFB     Line Control Register
  19. mcr_8250     EQU 04H   ;       xFC     Modem Control Register
  20. lsr_8250     EQU 05H   ;       xFD     Line Status Register
  21. msr_8250     EQU 06H   ;       xFE     Modem Status Register
  22. dll_8250     EQU 00H   ;       xF8     Divisor Latch Least Significant
  23. dlm_8250     EQU 01H   ;       xF9     Divisor Latch Most  Significant
  24.  
  25. ; Communications constants
  26.  
  27. CR    EQU 0DH                ; Carriage Return
  28. LF    EQU 0AH                ; Line Feed
  29.  
  30.